desc "Adds valid videos without comments to the development database."
task (:videos_push => :environment) do
  Video.delete_all()
  
  video = Video.new()
  video.title = "William Hung"
  video.description = "She Bangs featuring William Hung."
  video.file_url = "/flv/william_hung.flv"
  begin
    video.save!
  rescue
    "Unable to save video w/the following errors: " << errors.to_yml
  end
  
  video = Video.new()
  video.title = "Wonder Dog"
  video.description = "Dog or furry little person?."
  video.file_url = "/flv/wonder_dog.flv"
  begin
    video.save!
  rescue
    "Unable to save video w/the following errors: " << errors.to_yml
  end
  
  video = Video.new()
  video.title = "Flash Animation"
  video.description = "One sweet flash demo."
  video.file_url = "/flv/flash_anime.flv"
  video.thumbnail_url = "/images/flash_anime_thmb.png"
  begin
    video.save!
  rescue
    "Unable to save video w/the following errors: " << errors.to_yml
  end
end